package data.visu.datasets;

import data.visu.enums.E_BinaryTypes;
import data.visu.structures.Range;

/**
 * @author Charles Perin
 * 29 mars 2011
 * LIMSI - INRIA Rennes
 * charles.perin@free.fr
 *
 */
public class BinaryDataSet extends A_DisplayDataDataSet {

	/**
	 * Constructeur vide
	 */
	public BinaryDataSet() {
		super();
	}

	public BinaryDataSet(E_BinaryTypes type, int xMin, int xMax){
		super(xMin, xMax);
	}

	@Override
	public void addRange2Map(Range range, Object startValue) {
		addNewRangeInMap(range, (Boolean)startValue);
	}

	@Override
	public void addOrderedRange2Map(Range range, Object value) {
		rangeMap.put(range, (Boolean)value);
	}
}
